package com.standardoperationapp.bluetooth;

public class OnBleLockStateChangedListener {
    private BleLockStateChangedInterface listener;
    public void setListener(BleLockStateChangedInterface listener) {
        this.listener = listener;

    }

    public void removListener() {
        this.listener = null;
    }

    public void updateValue(double value) {
        if (listener != null) {
            listener.onChange(value);
        }
    }

    public void onOpenLockSuccess(int battery, boolean b) {
    }

    public void onGetLockBattery(double battery) {
    }

    public void onGetLockParam(BleLockParamInfo tmplBleLockParamInfo) {
    }

    public void onCloseLockSuccess() {
    }

    public void onSetLockParamResult(boolean b) {
    }
}
